package com.zidongxiangxi.sharding.job.core.executor.runnable;

/**
 * 分片任务一次的执行内容
 *
 * @author chenxudong
 * @date 2021/02/20
 */
public interface ShardingJobRunnable {
    /**
     * 运行业务
     *
     * @param shardingItem 分片项
     * @throws InterruptedException 中断异常
     */
    void run(String shardingItem) throws InterruptedException;
}
